Piwik\DataTable\Renderer B

Total Complexity 78
Dependencies 11
Dependents 4
Total lines 417
Lines of code 218
Logical lines of code 133
Comment lines 163
Methods 23
Properties 10

Methods 23

Method Rating Maintainability Complexity Lines of code
translateColumnNames()
A
49 12 31
shouldWrapArrayBeforeRendering()
A
52 11 25
convertDataTableToArray()
A
50 9 27
convertTable()
A
50 9 26
getApiMetaData()
S
57 6 15
formatValueXml()
S
51 5 15
flattenArray()
S
59 5 14
convertSimpleTable()
S
59 4 15
setTable()
S
69 3 6
getRenderers()
S
80 1 3
getClassNameFromClassId()
S
72 1 5
getInvalidClassIdExceptionMessage()
S
71 1 5
setRenderSubTables()
S
80 1 3
__toString()
S
81 1 3
render()
S
100 1 0
translateColumnName()
S
73 1 5
setTranslateColumnNames()
S
81 1 3
setApiMethod()
S
81 1 3
setIdSite()
S
81 1 3
renderHeader()
S
81 1 3
isRenderSubtables()
S
82 1 3
setHideIdSubDatableFromResponse()
S
80 1 3
__construct()
S
91 1 2